package demo;
    public abstract class Shape {
        public abstract void draw();
    }

    abstract class A extends Shape {
        abstract void test();
    }

    class C extends A {

        void test() {

        }
        public void draw() {

        }
    }

